<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Home</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">Home</h1>

    



    


    <h3> </h3>










    




    <section>
        <article><h1>概述</h1>
<p>该库主要为JavaScript环境下提供GNSS相关的时间转换函数、位置转换函数、角度/弧度转化函数以及部分辅助函数</p>
<h2>时间转换函数</h2>
<p>date2gpst
date2bdt
date2gst</p>
<h2>Date静态函数</h2>
<p>Date.toGPS
Date.toBDT
Date.toGST
Date.toUTC
Date.GPST
Date.BDT
Date.GST</p>
<h2>位置转换函数</h2>
<p>pos2ecef
ecef2pos
ecef2enu
enu2ecef</p>
<h2>角度/弧度函数</h2>
<p>rad2deg
deg2rad
dms2deg
deg2dms</p>
<h2>其他函数</h2>
<p>getGlonassFrequency
getGPSLeapSecond
getGSTLeapSecond</p>
<h1>如何使用</h1>
<pre class="prettyprint source lang-html"><code>&lt;script type=&quot;text/javascript&quot; src=&quot;./GnssLib.js&quot;>&lt;/script>
&lt;script>
let gpst = new Date(Date.GPST(2237,65056))
console.log(gpst);
&lt;/script>
</code></pre></article>
    </section>






</div>

<nav>
    <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.html#date2bdt">date2bdt</a></li><li><a href="global.html#date2gpst">date2gpst</a></li><li><a href="global.html#date2gst">date2gst</a></li><li><a href="global.html#deg2dms">deg2dms</a></li><li><a href="global.html#deg2rad">deg2rad</a></li><li><a href="global.html#dms2deg">dms2deg</a></li><li><a href="global.html#ecef2enu">ecef2enu</a></li><li><a href="global.html#ecef2pos">ecef2pos</a></li><li><a href="global.html#enu2ecef">enu2ecef</a></li><li><a href="global.html#getGPSLeapSecond">getGPSLeapSecond</a></li><li><a href="global.html#getGSTLeapSecond">getGSTLeapSecond</a></li><li><a href="global.html#getGlonassFrequency">getGlonassFrequency</a></li><li><a href="global.html#pos2ecef">pos2ecef</a></li><li><a href="global.html#rad2deg">rad2deg</a></li></ul>
</nav>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Mon Aug 28 2023 17:03:41 GMT+0800 (中国标准时间)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>